-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support for excluding properties from validation #1132
Conversation
c05bb45
to
d0de100
Compare
src/main/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/MicroProfileInspectionsInfo.java
Outdated
Show resolved
Hide resolved
...in/java/com/redhat/devtools/intellij/lsp4mp4ij/settings/UserDefinedMicroProfileSettings.java
Outdated
Show resolved
Hide resolved
It's a lie, no expression exclusions are handled on the server side: https://github.com/eclipse/lsp4mp/blob/bd75514388241a81b3bcdf7dd862f22fbe46df31/microprofile.ls/org.eclipse.lsp4mp.ls/src/main/java/org/eclipse/lsp4mp/services/properties/PropertiesFileValidator.java#L195C1-L269C3 |
Signed-off-by: Fred Bricon <[email protected]>
SonarCloud Quality Gate failed. 3 Bugs No Coverage information Catch issues before they fail your Quality Gate with our IDE extension SonarLint |
return settings; | ||
} | ||
|
||
private Map<String, Object> getSeverityAndExclusions(DiagnosticSeverity severity, List<String> exclusions) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
private static
Great job @fbricon ! |
Starting with excluded unknown properties
Unassigned properties in Java files